//
//  Auction_SpecialSaleBusinessInfo_VC_WX.m
//  ZITHER
//
//  Created by weixin on 2019/6/3.
//  Copyright © 2019 weixn. All rights reserved.
//

#import "Auction_SpecialSaleBusinessInfo_VC_WX.h"
#import "Auction_SpecialSaleBusinessInfo_Tbv_WX.h"


@interface Auction_SpecialSaleBusinessInfo_VC_WX ()
@property (nonatomic,strong)Auction_SpecialSaleBusinessInfo_Tbv_WX * tbv;
@end

@implementation Auction_SpecialSaleBusinessInfo_VC_WX

- (void)viewDidLoad {
    
    [super viewDidLoad];
    
    [self setNav];
    
    [self setUI];
    
}

-(void)setNav{
    
    [self.baseNavigationView setHiddenNav:YES VC:self];
    /* TODO: ================= 导航栏箭头颜色 =================*/
    BaseBtn *popBtn = [BaseBtn initCustomBtn:@[@"pgc_btn_back_white"]];
    [self.view addSubview:popBtn];
    [[popBtn addTag]subscribeNext:^(id  _Nullable x) {
        [self.navigationController popViewControllerAnimated:YES];
    }];

    [popBtn mas_makeConstraints:^(MASConstraintMaker *make) {
        make.left.equalTo(self.view).mas_equalTo(15);
        make.top.equalTo(self.view).mas_equalTo(kStatusBarHeight2+5);
        make.width.width.mas_equalTo(30);
    }];
    
}

-(void)setUI{

    
    [self.tbv mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(self.view).offset(0);
        make.left.right.equalTo(self.view).offset(0);
        make.bottom.equalTo(self.view).offset(-65-kBottomSafeHeight);
    }];
}

-(Auction_SpecialSaleBusinessInfo_Tbv_WX *)tbv{
    if (!_tbv) {
        _tbv = [[Auction_SpecialSaleBusinessInfo_Tbv_WX alloc]initializeFrame:CGRectZero isMj:3 isEstimatedRowHeight:YES addRegisterNib:@[@"Auction_SpecialSaleBusinessInfoComment_Cell_WX",@"Auction_SpecialSaleBusinessInfoGrade_Cell_WX",@"Auction_SpecialSaleBusinessInfo_Cell_WX"]];
        [self.view addSubview:_tbv];
    }
    return _tbv;
}



@end
